#ifndef MENUWIN_H
#define MENUWIN_H

#include <QWidget>
#include <QAction>
#include <QMenu>
#include <QActionGroup>
#include "MainController/maincontroller.h"



namespace Ui {
class MenuWin;
}

class MenuWin : public QWidget
{
    Q_OBJECT

public:
    explicit MenuWin(QWidget *parent = 0);
    ~MenuWin();
    QMenu *menu;
    QAction *actionSampleanalyse;
    QAction *actionListreview;
    QAction *actionGraphreview;
    QAction *actionXJQualitycontrolcount;
    QAction *actionXJQualitycontrolseting;

    QAction *actionXBQualitycontrolcount;
    QAction *actionXBQualitycontrolmap;

    QAction *manualactionCalibration;
    QAction *standardactionCalibration;
    QAction *bloodactionCalibration;
    QAction *actionsamplebase;
    QAction *actionreiteration;
    QAction *actionpollute;
    QAction *actionageing;

    QAction *actionDateSetting;
    QAction *actionPrintSetting;
    QAction *actioncommunicationSetting;
    QAction *actionflag;
    QAction *actiondictionary;
    QAction *actionlaboratory;
    QAction *actionsuermanage;
    QAction *actionassist;
    QAction *actionmaintainsetting;
    QAction *actionreagentmanage;
    QAction *actiongainsetting;

    QAction *actionParamUnit;
    QAction *actionParamReferLimits;
    QAction *actionParamMicroscopy;
    QAction *actionParamResearch;
    QAction *actionmaintain;
    QAction *actionselfcheck;
    QAction *actionneedle;
    QAction *actiongain;
    QAction *actionphotics;
    QAction *actiontemperaturepressuredemarcate;
    QAction *actionscreen;
    QAction *actionworkbox;
    QAction *actionlog;
    QAction *actiontimesdebug;

    QAction *actionglobalcounter;
    QAction *actiontemperaturepressure;
    QAction *actionvoltagecurrent;
    QAction *actionsensor;
    QAction *actionversions;
    QAction *actionabout;

    QAction *actionLogout;
    QAction *actionShutdown;
    QActionGroup *BGAction;


private slots:
   void showMenuPage(QAction *action);

private:
    Ui::MenuWin *ui;
};

#endif // MENUWIN_H
